package com.anfeng.cms.domain.device;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_device_info")
public class AfDeviceInfo extends Model<AfDeviceInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 设备id
     */
	private String id;
    /**
     * 设备名
     */
	private String name;
    /**
     * 设备编码
     */
	private String code;
    /**
     * 设备版本
     */
	private String version;
    /**
     * 外网ip
     */
	@TableField("out_ip")
	private String outIp;
    /**
     * 外网端口
     */
	@TableField("out_port")
	private String outPort;
    /**
     * 内网端口
     */
	@TableField("inner_port")
	private String innerPort;
    /**
     * 前置机域名
     */
	private String domain;
    /**
     * 地址
     */
	private String address;
    /**
     * 员工id
     */
	@TableField("emp_id")
	private String empId;
    /**
     * 员工名
     */
	@TableField("emp_name")
	private String empName;
    /**
     * 手机号
     */
	@TableField("emp_mobile")
	private String empMobile;
    /**
     * 数据状态（1 正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getOutIp() {
		return outIp;
	}

	public void setOutIp(String outIp) {
		this.outIp = outIp;
	}

	public String getOutPort() {
		return outPort;
	}

	public void setOutPort(String outPort) {
		this.outPort = outPort;
	}

	public String getInnerPort() {
		return innerPort;
	}

	public void setInnerPort(String innerPort) {
		this.innerPort = innerPort;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpMobile() {
		return empMobile;
	}

	public void setEmpMobile(String empMobile) {
		this.empMobile = empMobile;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AfDeviceInfo{" +
			"id=" + id +
			", name=" + name +
			", code=" + code +
			", version=" + version +
			", outIp=" + outIp +
			", outPort=" + outPort +
			", innerPort=" + innerPort +
			", domain=" + domain +
			", address=" + address +
			", empId=" + empId +
			", empName=" + empName +
			", empMobile=" + empMobile +
			", state=" + state +
			", createTime=" + createTime +
			", modifiedTime=" + modifiedTime +
			"}";
	}
}
